<div class="items form">
<?php echo $form->create('Item', array('type'=>'file'));?>
	<fieldset>
 		<legend><?php __('Add Item');?></legend>
	<?php
		echo $form->input('title');
		echo $form->input('short_description');
		echo $form->input('long_description');
		echo $form->input('condition_id', array('empty'=>true));
		echo $form->input('Image.0.upload_image', array('type'=>'file'));
//		echo $form->input('Image.1', array('type'=>'file'));
//		echo $form->input('Image.2', array('type'=>'file'));
		echo $form->input('category_id', array('empty'=>true));
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('List Items', true), array('action'=>'index'));?></li>
	</ul>
</div>

<?php debug($form) ?>
